﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;

namespace QuanLyPhongMach.Model
{
    [Table(Name = "CachDung")]
    public class CCachDung
    {
        #region Properties
        [Column(Name = "MaCachDung", IsPrimaryKey = true)]
        public int MaCachDung { get; set; }

        [Column(Name = "TenCachDung")]
        public string TenCachDung { get; set; }
        #endregion

        #region Constructor
        public CCachDung()
        {
        }

        public CCachDung(string tencachdung)
        {
            this.TenCachDung = tencachdung;
        }
        #endregion
    }
}